package com.itcam.tingshu.account.service;

import com.itcam.tingshu.model.account.RechargeInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itcam.tingshu.vo.account.RechargeInfoVo;

public interface RechargeInfoService extends IService<RechargeInfo> {

    /**
     * 根据订单号查询充值信息
     * @param orderNo
     * @return
     */
    RechargeInfo getRechargeInfoByOrderNo(String orderNo);

    /**
     * 微信充值
     * @param rechargeInfoVo
     * @param userId
     * @return
     */
    String submitRecharge(RechargeInfoVo rechargeInfoVo, Long userId);
}
